package Chapter05.Homework;

import java.util.Scanner;
//输入一个整数，判断其是否是回文数
public class Test05 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        String sum=input.next();
        int count=0;
        for (int i=0;i<sum.length()/2;i++){
            if((sum.substring(i,i+1)).equals(sum.substring(sum.length()-1-i,sum.length()-i))){
                count++;
            }
            if(count==sum.length()/2){
                System.out.println("是回文字符串");
                break;
            }else {
                System.out.println("不是回文字符串");
                break;
            }
        }
    }
}
